@charset "utf-8";

/* django_logistics project base styles */

body {
  margin: 0;
  padding: 0;
  font-size: 1em;
  font-family: "Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana, 
      Arial,sans-serif;
  color: #333;
  background-color: #E8E8E8;
  line-height: 1.3em;
}

/* LINKS */

a:link {
  color: #FF7B01;
  background-color: inherit;
  text-decoration: none;
}

a:visited {
  color: #FF2C55;
  background-color: inherit;
  text-decoration: none;
}

a:hover {
  color: #ff4;
  background-color: #A3A3A3;
}

a img {
  border: none;
}

/* GLOBAL DEFAULTS */

p, ol, ul, dl {
  margin: .2em 0 .8em 0;
}

p {
  padding: 0;
  line-height: 100%;
}

h1, h2, h3, h4, h5 {
  font-weight: bold;
}

h1 {
  font-size: 1.3em;
  padding: 0 0.4em 0 0;
  margin: 0 0 .2em 0;
}

h2 {
  font-size: 1.2em;
  margin: 0.1em 0.4em .6em 0;
  padding: 0 0.3em 0.5em 0;
}

h2.subhead {
  margin: 0.2em;
  padding: 0;
}

h3 {
  font-size: 1em;
  margin: .8em 0 .3em 0;
  font-weight: bold;
}

h4 {
  font-size: 0.85em;
  margin: 1em 0 .05em 0;
  padding-bottom: 0.03em;
}

h5 {
  font-size: 0.7em;
  margin: 1.5em 0 .5em 0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

ul li {
  list-style-type: square;
  padding: 0.07em 0;
}

ul.plainlist {
  margin-left: 0 !important;
  padding-left: 1em;
}

ul.plainlist li {
  list-style-type: none;
}

li, dt, dd {
  font-size: 0.9em;
  line-height: 1.2em;
}

dt {
  font-weight: bold;
  margin-top: 0.3em;
}

dd {
  margin-left: 0;
}

form {
  margin: 0;
  padding: 0;
}

/* TEXT STYLES & MODIFIERS */

p img, h1 img, h2 img, h3 img, h4 img, td img {
  vertical-align: middle;
}

.nowrap {
  white-space: nowrap;
}

/* FORM DEFAULTS */

input, textarea, select {
  margin: 0.15em 0;
  padding: 0.15em 0.2em;
  vertical-align: middle;
  font-family: "Lucida Grande", Verdana, Arial, sans-serif;
  font-weight: normal;
  font-size: 0.8em;
}

textarea {
  vertical-align: top !important;
}

input[type=text], input[type=password], textarea, select, .vTextField {
  border: 0.07em solid #ddd;
}

/* PAGE STRUCTURE */

#container {
  position: relative;
  width: 100%;
  min-width: 760px;
  padding: 0;
}

#content {
  margin: 0.2em 0.5em 0.2em 18%;
  padding: 0.2em 0.5em 0.2em 0.5em;
}

#header {
  width: 100%;
}

#content-main {
  float: none;
  margin: 0.2em 0.5em 0.2em 0.5em;
  padding: 0.2em 0.5em 0.2em 0.5em;
}

#content-main ul {
  margin-top:0;
  margin-left: 3.5em;
  padding-bottom:1.1em;
}

#content-main ul li {
  margin-left: 2.1em;
  margin-right: 0.35em;
}

#footer {
  clear: both;
  padding: 0.7em;
  font-size: 80%;
  text-align: left;
  color: #333;
  background-color: #D6D7D9;
}

/* BREADCRUMBS */

div.breadcrumbs {
  background-color: #E8E8E8;
  padding: 0.15em 0.6em 0.2em 0.6em;
  font-size: 0.85em;
  color: #999;
  border-top: 0.07em solid white;
  border-bottom: 0.07em solid #8A8A8A;
  text-align: left;
}

/* SIDEBAR */ 

/* nav_bar style (left sidebar)*/
#nav_bar {
  float: left;
  width: 17%;
  background-color: #D5D4D9;
  color: #114;
  margin: 0 0.2em 0.2em 0.5em;
  padding: 0.2em 0.4em 0.2em 0.4em;
}

/* HEADER */

#header {
  overflow: hidden;
  color: #ff4;
  background-color: #303030;
}

#header a:link {
  color: white;
  background-color: #303030; /*#417690;*/
}

#header a:visited {
  color: #ffc;
  background-color: #303030; /*#417690;*/
}

#branding {
  background-color: #303030;
  color: #FF9901;
}

#branding h1 {
  padding: 0 0.7em 0.7em;
  font-size: 2.2em;
  margin: 0.6em 0;
  font-weight: bold;
}

#branding h2 {
  padding: 0 0.7em;
  font-size: 1em;
  margin: -0.6em 0 0.6em 0;
  font-weight: normal;
  color: #f4f379;
  background-color: #303030;
}

#branding span {
  padding: 0 0.7em;
  font-size: 1.5em;
  margin: 0.6em 0;
  font-weight: bold;
  color: #f4f379;
  background-color: #303030;
}

#user-tools {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.2em 0.7em;
  font-size: 0.8em;
  text-align: right;
}

#user-tools a.lng:link, #user-tools a.lng:visited {
  display: inline-block;
  width: 4em;
  margin-right: 0.3em;
  text-align: center;
}

/* MESSAGES & ERRORS */

ul.messagelist {
  padding: 0 0 0.35em 0;
  margin: 0;
}

ul.messagelist li {
  font-size: 0.85em;
  display: block;
  padding: 0.3em 0.35em 0.3em 1.8em;
  margin: 0 0 0.2em 0;
  border-bottom: 0.07em solid #ddd;
  color: #666;
  background: #ffc url("../img/admin/icon_success.gif") 0.35em .3em no-repeat;
}

.errornote {
  font-size: 0.85em !important;
  display: block;
  padding: 0.3em 0.35em 0.3em 1.8em;
  margin: 0 0 0.2em 0;
  border: 0.07em solid red;
  color: red;
  background: #ffc url("../img/admin/icon_error.gif") 0.35em .3em no-repeat;
}

.precaution {
  font-size: 1.1em;
  padding: 0.3em 0.35em 0.3em 1.8em;
  margin: 0 0 0.2em 0;
  border: 0.07em solid red;
  color: red;
  background-color: #E8E8E8;
}

ul.errorlist {
  margin: 0 !important;
  padding: 0 !important;
}

.errorlist li {
  font-size: 0.85em !important;
  display: block;
  padding: 0.3em 0.35em 0.3em 1.8em;
  margin: 0 0 0.2em 0;
  border: 0.07em solid red;
  color: white;
  background: #FF7500 url("../img/admin/icon_alert.gif") 0.35em .3em no-repeat;
}

td ul.errorlist {
  margin: 0 !important;
  padding: 0 !important;
}

td ul.errorlist li {
  margin: 0 !important;
}

.errors {
  color: #333;
  background-color: #ffc;
}

.errors input, .errors select {
  border: 0.07em solid red;
}

div.system-message {
  color: #333;
  background-color: #ffc;
  margin: 0.7em;
  padding: 0.4em 0.6em;
  font-size: .8em;
}

div.system-message p.system-message-title {
  padding: 0.3em 0.35em 0.3em 1.8em;
  margin: 0;
  color: red;
  background: #ffc url(../img/admin/icon_error.gif) 0.35em .3em no-repeat;
}

.description {
  font-size: 0.85em;
  padding: 0.35em 0 0 0.85em;
  font-style:italic;
}

.required {
  float: right;
  margin-right: 60%;
}

/* FORM BUTTONS */

.button, input[type=submit], input[type=button], .submit-row input {
  background: white url(../img/admin/nav-bg.gif) bottom repeat-x;
  padding: 0.2em;
  color: black;
  border: 0.07em solid #bbb;
}


/* tree-like list */
ul.tree {
  margin: 0;/* 0 .8em 0;*/
}
ul.tree li.list0 {
  list-style-type: none;
  margin-left: 1em;
}
ul.tree li.list1 {
  list-style-type: circle;
  margin-left: 1em;
}
ul.tree li.list2 {
  list-style-type: circle;
  margin-left:2em;
}
/* list3 tree is not used yet */
/*ul.tree li.list3 {
  list-style-type: circle;
  margin-left: 3em;
}*/
